package org.summer.lawyer.event;

import jakarta.annotation.Resource;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;
import org.summer.lawyer.domain.vo.spuorder.SpuOrderVo;
import org.summer.lawyer.domain.vo.spuorderassign.SpuOrderAssignVo;
import org.summer.lawyer.handle.SmsService;

/**
 * 订单完成
 */
@Getter
public class SpuOrderCompletedEvent extends ApplicationEvent {

    private SpuOrderAssignVo orderAssignVo;

    public SpuOrderCompletedEvent(Object source) {
        super(source);
    }

    public SpuOrderCompletedEvent(Object source, SpuOrderAssignVo orderAssignVo) {
        super(source);
        this.orderAssignVo = orderAssignVo;
    }
}
